<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="./index.css" />
    <title>滚动跟随动画</title>
  </head>
  <body>
    <div class="header">
      <div class="header-slices-block">
        <i class="slice-module-black"></i>
        <i
          class="slice-module-white animation-module"
          data-max-offset-y="30"
        ></i>
        <i
          class="slice-module-blue animation-module"
          data-max-offset-y="60"
        ></i>
        <i class="slice-ball animation-module" data-max-offset-y="30"></i>
        <i class="slice-glod animation-module" data-max-offset-y="130"></i>
      </div>
    </div>
    <script src="./index.js"></script>
  </body>
</html>
